package ar.com.personalTravellers.generators.runner;

import ar.com.personalTravellers.spring.ApplicationContextSpring;
import org.springframework.context.support.AbstractApplicationContext;

/**
 * @author William
 */
public class PTDataGeneratorRunner {


    public static void main(String[] args) throws Exception {
        AbstractApplicationContext ac = (AbstractApplicationContext) ApplicationContextSpring.createInstance().prepareApplicationContext();
        PTDataGeneratorRunnerDAO bean = (PTDataGeneratorRunnerDAO) ac.getBean("txProxyTemplate");
        bean.initializeDataInformation();
        ac.close();
    }
}